package com.weitu.occupationalHealth.monitor.service.impl;

import com.weitu.occupationalHealth.monitor.entity.Monitor;
import com.weitu.occupationalHealth.monitor.mapper.MonitorMapper;
import com.weitu.occupationalHealth.monitor.service.MonitorService;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MonitorServiceImpl implements MonitorService {
    @Autowired
    private MonitorMapper monitorMapper;

    @Override
    public Map selectById(String id) {
        return this.monitorMapper.selectById(id);
    }

    @Override
    public int deleteById(String id) {
        return this.monitorMapper.deleteById(id);
    }

    @Override
    public int updateByIdSelective(Map record) {
        return this.monitorMapper.updateByIdSelective(record);
    }

    @Override
    public int insertSelective(Map map) {
        return this.monitorMapper.insertSelective(map);
    }

    @Override
    public List<Map> selectAllMonitor(Map map) {
        return this.monitorMapper.selectAllMonitor(map);
    }

    @Override
    public int selectMonitorCount(Map map) {
        return this.monitorMapper.selectMonitorCount(map);
    }

    @Override
    public List<Map<String, Object>> selectAnalysis(Map<String, Object> map) {
        return this.monitorMapper.selectAnalysis(map);
    }
}